package com.imd.s9;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.mongodb.config.EnableMongoAuditing;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author cuiyulong
 */
@EnableAsync
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableMongoAuditing
@ComponentScan(basePackages = {"com.imd"})
public class ObjExtendApp {
    private static final Logger Logger = LoggerFactory.getLogger(ObjExtendApp.class);
    public static void main(String[] args){
        SpringApplication.run(ObjExtendApp.class,args);
        Logger.error("--------------ObjExtend server started----------------");
    }
}
